//
//  PDFiumFileWrite.h
//  IAPDFKit
//
//  Created by macbook pro 2022 m2 on 2025/11/5.
//

#import <Foundation/Foundation.h>
#import <stdio.h>
#import "fpdf_save.h"

// 共享的文件写入结构
typedef struct {
    FPDF_FILEWRITE base;
    FILE* file;
} CustomFileWrite;

// 共享的文件写入回调（仅声明）
int FileWriteCallback(FPDF_FILEWRITE* pThis, const void* pData, unsigned long size);
